home *** CD-ROM | disk | FTP | other *** search
/ PC Gamer 7.33 (October) / PC Gamer Disc 7.33 (October 2003).ISO / Data / Help.pcg / scripts / DefineSprite_39 / frame_234 / DoAction.as
Text File  |  2001-06-21  |  266b  |  17 lines

  1. if(631 >= _parent._xmouse)
  2. {
  3.    this._X = _parent._xmouse + 115;
  4. }
  5. else
  6. {
  7.    this._X = _parent._xmouse + 115 - (_parent._xmouse - 631);
  8. }
  9. if(496.95 >= _parent._ymouse)
  10. {
  11.    this._y = _parent._ymouse + 25;
  12. }
  13. else
  14. {
  15.    this._y = _parent._ymouse - 8;
  16. }
  17.